package com.winshare.saleAssistant.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@ApiModel
public class ArticleIdDTO {

    @NotNull(message = "主键不可以为空")
    @Range(min = 1, message = "主键为大于或等于1的正整数")
    @ApiModelProperty(value = "主键不可以为空")
    private Integer id;

    //@NotNull(message = "审核机构Id不可以为空")
    @ApiModelProperty(value = "审核机构Id")
    private Integer auditOrgId;

   // @NotNull(message = "审核机构名称不可以为空")
   // @Length(min = 1, max = 100, message = "审核机构长度需要在1-100个字之间")
    @ApiModelProperty(value = "审核机构")
    private String auditOrgName;

    public ArticleIdDTO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAuditOrgId() {
        return auditOrgId;
    }

    public void setAuditOrgId(Integer auditOrgId) {
        this.auditOrgId = auditOrgId;
    }

    public String getAuditOrgName() {
        return auditOrgName;
    }

    public void setAuditOrgName(String auditOrgName) {
        this.auditOrgName = auditOrgName;
    }
}
